<template>
  <div>
    <div>父组件</div>
    <child :data1="data1" :data2="data2" :data3="data3" />
  </div>
</template>
<script>
import child from '/src/views/provide/son1'
export default {
  name: 'Provide',
  components: {
    child
  },
  provide() {
    return {
      dataInfo: this.data1,
      dataInfo2: this.data2
    }
  },
  data() {
    return {
      data1: '数据1',
      data2: '数据2',
      data3: '数据3'
    }
  },
  methods: {}
}
</script>
